﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="BuildConnection.aspx.vb" Inherits="LuceneTest2Web.BuildConnection" %>

<%@ Register src="topmenu.ascx" tagname="topmenu" tagprefix="uc1" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .auto-style1
        {
            width: 500px;
        }
        .auto-style2
        {
            width: 33px;
        }
        .auto-style3
        {
            width: 320px;
        }
        .auto-style4
        {
            width: 33px;
            height: 42px;
        }
        .auto-style5
        {
            width: 300px;
            height: 42px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <uc1:topmenu ID="topmenu1" runat="server" />
        <br />
        <h2>Build Connection</h2>
        <br />
        <table class="auto-style1">
            <tr>
                <td class="auto-style2">Server</td>
                <td class="auto-style3">
                    <asp:TextBox ID="txtServer" runat="server" Width="250px"></asp:TextBox>
                    <asp:TextBox ID="txtPort" runat="server" Width="50px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="auto-style4">Server Type</td>
                <td class="auto-style5">
                    <asp:DropDownList ID="DropDownList1" runat="server" Width="200px">
                        <asp:ListItem Value="System.Data.SqlClient">MS SQL</asp:ListItem>
                        <asp:ListItem Value="MySql.Data.MySqlClient">MySQL</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="auto-style2">Database</td>
                <td class="auto-style3">
                    <asp:TextBox ID="txtDataBase" runat="server" Width="200px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="auto-style2">Integrated Security</td>
                <td class="auto-style3">
                    <asp:CheckBox ID="CheckBox1" runat="server" AutoPostBack="True" />
                </td>
            </tr>
            <tr>
                <td class="auto-style2">Username</td>
                <td class="auto-style3">
                    <asp:TextBox ID="txtUserName" runat="server" Width="200px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="auto-style2">Password</td>
                <td class="auto-style3">
                    <asp:TextBox ID="txtPassword" runat="server" Width="200px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="auto-style2">&nbsp;</td>
                <td class="auto-style3">
                    <asp:Button ID="btnConnect" runat="server" Text="Test and Store" Width="205px" />
                </td>
            </tr>
        </table>
        <asp:Label ID="lblConnectionString" runat="server"></asp:Label>
        <br />
    
    </div>
    </form>
</body>
</html>
